abstract class GetWebPurchasedSubscriptionMaxLapseDuration {
  Duration call({
    required bool test,
  });
}

class GetWebPurchasedSubscriptionMaxLapseDurationImpl
    implements GetWebPurchasedSubscriptionMaxLapseDuration {
  const GetWebPurchasedSubscriptionMaxLapseDurationImpl();

  @override
  Duration call({
    required bool test,
  }) {
    if (test) {
      return const Duration(minutes: 2);
    }

    return const Duration(days: 14);
  }
}
